<?php

//this is the header plugin
//takes global headerVars variables (added to array)

function header_include($headerVars)
{
	$s = '';
	if(count($headerVars) > 0)
	{
		$headerVars = array_unique($headerVars);		//removes any duplicate entries
		foreach($headerVars as $var)
		{
			$s .= $var .'
						';
		}
		echo $s;
	}
	else
	{
		echo '';
	}
}
?>